package com.bw.house.client;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "search-house-manager")
public interface HouseFeignService {
    @PostMapping("/house/getAdminByPhone")
    public Boolean getAdminByPhone(@RequestParam("phone") String phone);
}
